package com.eat.fish_service.service;

import com.eat.common_utils.R;
import com.eat.fish_service.entity.Dao.Aquarium;
import com.baomidou.mybatisplus.extension.service.IService;
import com.eat.fish_service.entity.VO.AquariumIds;
import com.eat.fish_service.entity.VO.IpPortVo;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author LWB
 * @since 2022-03-21
 */
public interface AquariumService extends IService<Aquarium> {

    R addEquipment(String charge, IpPortVo ipPortVo);

    R addOrRestart(Long aquariumId, String username);

    R aquariumMess(Long aquariumId);

    R editMaxFishNum(Long aquariumId, Integer maxNum);

    R delUserAquarium(String username, AquariumIds aquariumIds);

    R allAquariumMess();
}
